
using System.ComponentModel.DataAnnotations;

using System;
using System.Runtime.Serialization;


namespace Timetable.Base.Entities
{
    [DataContract(IsReference = true)]
    public class Schedule : BaseEntity
    {
        [DataMember]
        public Auditorium Auditorium { get; set; }
        [DataMember]
        public int DayOfWeek { get; set; }
        [DataMember]
        public DateTime EndDate { get; set; }
        [DataMember]
        public Time Period { get; set; }
        [DataMember]
        public DateTime StartDate { get; set; }
        [DataMember]
        public ScheduleInfo ScheduleInfo { get; set; }
        [DataMember]
        public WeekType WeekType { get; set; }
    }
}
